﻿using Microsoft.EntityFrameworkCore;
using SheepCultivation.Common.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepCultivation.Common.EFDb
{
    public class EFDBContext:DbContext
    {
        public EFDBContext(DbContextOptions<EFDBContext> options) : base(options) { }
        public DbSet<Accountingunit> Accountingunits { get; set; }
        public DbSet<City> City { get; set; }
        public DbSet<County> County { get; set; }
        public DbSet<Enterprise> Enterprise { get; set; }
        public DbSet<Industry> Industry { get; set; }
        public DbSet<Province> Province { get; set; }
        public DbSet<EnterPriseTree> EnterPriseTree { get; set; }
        public DbSet<Department> Department { get; set; }
        public DbSet<DepartmentType> DepartmentType { get; set; }
        public DbSet<Appointment> Appointment { get; set; }
        

    }
}
